package cn.bgs.service;

import cn.bgs.controller.DormitoryController;
import cn.bgs.exception.PhoenixException;
import cn.bgs.pojo.dormitory;

import java.util.List;

/**
 * @ProjectName: bei
 * @Package: cn.bgs.service
 * @ClassName: dormitoryService
 * @Author: Administrator
 * @Description:
 * @Date: 2021/8/11 0011 19:44
 * @Version: 1.0
 */
public interface dormitoryService {
    List<dormitory> findormitory(String area, String bedNumber, String buildingFloor, String buildingNo, String dormitoryName, String dormSupervisor);

    List<dormitory> area();

    Integer insertdormitory(dormitory dormitory);

    Integer deleteByPkId(List<Integer> list);

    Integer dormitorydel(Integer pkId);

    Integer updateByPkId(dormitory dormitory);

    dormitory dormitoryFind(Integer pkId);

    Integer dormitoryAddStu(Integer[] ids, String dormitoryId, String dormitoryName) throws PhoenixException;

    Integer dormitoryCount(String dormitoryId);

    dormitory dormitoryFindSel(String dormitoryName);
}
